package com.airconditioner.sales.activity;

import android.content.Intent;
import android.view.View;

import com.airconditioner.sales.R;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;

/**
 * 作者：shuizi_wade on 2017/1/20 17:12
 * 邮箱：674618016@qq.com
 */
@ContentView(R.layout.activity_input_user_info)
public class InputUserInfoActivity extends BaseActivity {
    @Override
    public void init() {
        super.init();
        title_iv_back.setImageResource(R.mipmap.titlebar_back_black);
        title_tv_title.setText(R.string.input_user_info);
        title_iv_back.setBackgroundColor(getResources().getColor(R.color.white_color));
        title_relate_layout.setBackgroundColor(getResources().getColor(R.color.white_color));
    }

    @Event({R.id.title_iv_back, R.id.btn_next})
    private void getEvent(View view) {
        switch (view.getId()) {
            case R.id.title_iv_back:
                finish();
                break;
            case R.id.btn_next:
                startActivity(new Intent(InputUserInfoActivity.this, InputHouseTypeActivity.class));
                break;
        }
    }
}
